<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
        <style>
            *{
                margin: 0px;
                padding: 0px;
                list-style: none;
            }
            nav{
                overflow: hidden;
            }
            nav ul{
                float: right;
            }
            nav li{
                float: left;
                font-size: 13px;
                text-decoration: underline;
                margin-top: 22px;
                margin-right: 22px;
            }
            .more{
                background: #38f;
                padding: 4px;
                margin-top: 18px;
                color: #fff;
                text-decoration: none;
            }
            h1{
                text-align: center;
            }
            h1 img{
                width: 240px;
            }
            p{
                text-align: center;
                
            }
            p a{
                font-size: 12px;
                margin-top: 22px;
                color: #ccc;
                margin-right: 20px;
                line-height: 13px;
            }
            p img{
                margin-top:300px;
            }
            p span{
                width: 12px;
                height: 12px;
                line-height: 23px;
            }
            h2{
                text-align: center;
                width: 640px;
                height: 37px;
                background: #fff;
                margin: 20px auto;
                position: relative;
            }
            h2 input{
                float: left;
                height: 35px;
                width: 539px;
                border-right: none;
                border: 1px solid rgb(196, 190, 190);
            }
            h2 span{
                position: absolute;
                width: 19px;
                height: 19px;
                left: 510px;
                top: 10px;
                display: inline-block;
                background: url('images/camera_new_5606e8f.png')
            }
            i{
                display: inline-block;
                background: url('images/icons_5859e57.png') no-repeat
            }
            
            .foot{
                width: 14px;
                height: 14px;
                background-position: -600px -96px;
                position: relative;
                top: 2px;
            }
            .police{
                width: 14px;
                height: 14px;
                background-position: -622px -97px;
                position: relative;
                top: 2px;
            }
            h2 button {
                width: 100px;
                height: 37px;
                color: white;
                background: rgb(59,138,230);
                border: none;
                outline: none;
                margin-left: -7px;
                float: right;
             }
             
        </style>
    </head>
    <body>
        <nav>
            <ul>
                 <li>糯米</li>
                 <li>新闻</li>
                 <li>hao123</li>
                 <li>地图</li>
                 <li>视频</li>
                 <li>贴吧</li>
                 <li>登录</li>
                 <li>设置</li>
                 <li class="more">更多产品</li>
            </ul>
        </nav>
        <h1>
            <img src="images/bd_logo1.png" alt="">
        </h1>
        <h2>
                <input type="text">
                <span></span>
                <button>百度一下</button>
            
        </h2>
        <p>
        <img src="images/zbios_efde696.png" alt=""><br>
        <span>手机百度</span>
        </p>
        <p>
            <a href="">把百度设为主页关于百度About</a><a href="">Baidu百度推广</a>
        </p>
        <p>
            <a href="">©2016 Baidu 使用百度前必读 意见反馈 京ICP证030173号 <i class="foot"></i></a><a href="">京公网安备11000002000001号 <i class="police"></i></a>
        </p>
        
    </body>
</html>

